package com.hopu.v1.service.front.personal;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hopu.v1.pojo.common.PageData;
import com.hopu.v1.pojo.verify.StudentLeaveApplications;
import com.hopu.v1.vo.LeaveStaffVo;
import com.hopu.v1.vo.StudentLeaveVo;

/**
 * @Author: YwaiX
 * @Version: 1.0
 * @Date: Created in 2024-10-11 19:26:37
 * @Description:
 */
public interface FStudentLeaveService extends IService<StudentLeaveApplications> {
	
	/**
	 * 分页模糊查询请假记录
	 * @param page
	 * @param size
	 * @param leaveType
	 * @return
	 */
	PageData<StudentLeaveVo> getStudentLeaveList(Integer page, Integer size, Integer leaveType,Integer studentId);
	
	/**
	 * 获取请假审批人信息
	 * @param studentId
	 * @return
	 */
	LeaveStaffVo getApproves(Integer studentId);
	
	/**
	 * 添加申请记录
	 * @param studentLeaveApplications
	 */
	void insertStudentLeave(StudentLeaveApplications studentLeaveApplications);
}
